package phantoms;
import java.sql.*;

public class T2 {
	public static void main(String[] args) throws Exception {
		Connection connection = DriverManager.getConnection("jdbc:pointbase:server://127.0.0.1/StaplerzDB", "PBPUBLIC", "PBPUBLIC");
		connection.setAutoCommit(false);		
		Statement query = connection.createStatement();
		
		query.execute("INSERT INTO order_items VALUES('9999', 9999, 9999)");
		Thread.sleep(5000);
		
		connection.rollback();
		connection.close();
		
		System.out.println("T2 done.");
	}
}